package com.lzp.wechat.entity.templateMessage;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "模板消息请求实体")
public class TemplateMessageRequest {

    @ApiModelProperty(value = "接收者openid", notes = "接收者openid")
    private String touser;

    @ApiModelProperty(value = "模板ID", notes = "模板ID")
    private String template_id;

    @ApiModelProperty(value = "模板跳转链接", notes = "海外帐号没有跳转能力")
    private String url;

    @ApiModelProperty(value = "跳小程序所需数据", notes = "不需跳小程序可不用传该数据")
    private Miniprogram miniprogram;

    @ApiModelProperty(value = "模板数据", notes = "模板数据")
    private BusinessHandleData data;

}
